UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The /etc/smbpasswd file must not have an extended ACL.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22498 GEN006210 SV-26827r1_rule ECLP-1 Medium
Description
If the permissions of the smbpasswd file are too permissive, it may be maliciously accessed or modified, potentially resulting in the compromise of Samba accounts.
STIG Date
SOLARIS 9 SPARC SECURITY TECHNICAL IMPLEMENTATION GUIDE 2015-10-01

Details

Check Text ( C-27809r1_chk )
Check the group ownership of the Samba configuration file.
# ls -lL /etc/smbpasswd
If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix Text (F-24070r1_fix)
Remove the extended ACL from the file.
# getfacl /etc/smbpasswd
Remove each ACE returned.
# setfacl -d [ACE] /etc/smbpasswd